Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.connect.client.actions--filters

This contribution is part of XML component org.nuxeo.connect.client.actions inside nuxeo-admin-center-7.10-HF07.jar /OSGI-INF/actions-contrib.xml

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter id="adminCenterAccess">
          <rule grant="true">
            <condition>#{currentUser.administrator}</condition>
            <condition>#{currentUser.isMemberOf('powerusers')}</condition>
          </rule>
        </filter>
  • <filter id="usersGroupsManagementAccess">
          <rule grant="true">
            <condition>#{currentUser.administrator}</condition>
            <condition>#{currentUser.isMemberOf('powerusers')}</condition>
          </rule>
        </filter>
  • <filter id="seamHotReloadIsEnabled">
          <rule grant="true">
            <condition>#{seamHotReloadIsEnabled}</condition>
          </rule>
        </filter>
  • <filter id="user_manager">
          <rule grant="true">
            <condition>#{userServicesContext.userManagerEnabled}</condition>
          </rule>
        </filter>
  • <filter id="isRegisteredOnConnect">
          <rule grant="true">
            <condition>#{connectUpdateStatusInfo.registered}</condition>
          </rule>
        </filter>
  • <filter id="isNotRegisteredOnConnect">
          <rule grant="false">
            <condition>#{connectUpdateStatusInfo.registered}</condition>
          </rule>
        </filter>
  • <filter id="hasConnectUpdates">
          <rule grant="true">
            <condition>#{connectUpdateStatusInfo.availableUpdateCount &gt; 0}</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter id="adminCenterAccess">
      <rule grant="true">
        <condition>#{currentUser.administrator}</condition>
        <condition>#{currentUser.isMemberOf('powerusers')}</condition>
      </rule>
    </filter>

    <filter id="usersGroupsManagementAccess">
      <rule grant="true">
        <condition>#{currentUser.administrator}</condition>
        <condition>#{currentUser.isMemberOf('powerusers')}</condition>
      </rule>
    </filter>

    <filter id="seamHotReloadIsEnabled">
      <rule grant="true">
        <condition>#{seamHotReloadIsEnabled}</condition>
      </rule>
    </filter>

    <filter id="user_manager">
      <rule grant="true">
        <condition>#{userServicesContext.userManagerEnabled}</condition>
      </rule>
    </filter>

    <filter id="isRegisteredOnConnect">
      <rule grant="true">
        <condition>#{connectUpdateStatusInfo.registered}</condition>
      </rule>
    </filter>

    <filter id="isNotRegisteredOnConnect">
      <rule grant="false">
        <condition>#{connectUpdateStatusInfo.registered}</condition>
      </rule>
    </filter>

    <filter id="hasConnectUpdates">
      <rule grant="true">
        <condition>#{connectUpdateStatusInfo.availableUpdateCount &gt; 0}</condition>
      </rule>
    </filter>

  </extension>